package cn.zust.ly.play.Exa;

/**
 * Created by liy on 2016/12/1.
 */
public class Test03 {
    public static void main(String[] args)
    {
        int i = (int) (Math.random() * 60);
        for (int j = 0; j < 30000; j++) {
            int a = (int) (Math.random() * 60);
            if (a<0 || a >= 59) System.out.println("qunima");
        }
        //System.out.println(i);
        if (i < 5) {
            System.out.println("恭喜中了：iphone手机");
        }else if (i < 17) {
            System.out.println("恭喜中了：mp3");
        } else if (i < 47) {
            System.out.println("恭喜中了：洗衣粉");
        } else {
            System.out.println("恭喜中了：KFC优惠券");
        }
    }
}
